package com.cta.view.model;

import org.joda.time.DateTime;

public class CallDuration {

	private long duration;

	private float discountValue;

	private DateTime start;

	private DateTime end;

	public CallDuration(long duration, int discount) {
		this.duration = duration;
		this.discountValue = discount;
	}

	public CallDuration(long duration, int discount, DateTime start, DateTime end) {
		this.duration = duration;
		this.discountValue = discount;
		this.start = start;
		this.end = end;
	}

	public long getDuration() {
		return duration;
	}

	public void setDuration(long duration) {
		this.duration = duration;
	}

	public float getDiscountValue() {
		return discountValue;
	}

	public void setDiscountValue(int discountValue) {
		this.discountValue = discountValue;
	}

	public DateTime getStart() {
		return start;
	}

	public void setStart(DateTime start) {
		this.start = start;
	}

	public DateTime getEnd() {
		return end;
	}

	public void setEnd(DateTime end) {
		this.end = end;
	}

}
